package com.idanchuang.count.core.entity;

import lombok.Getter;

import java.util.List;

/**
 * @author Richard_yyf
 * @version 1.0 2021/6/7
 */
@Getter
public class SetAlterCommand {

    private final String key;
    private final String[] elements;

    public SetAlterCommand(String key, List<String> elements) {
        this.key = key;
        this.elements = elements.toArray(new String[0]);
    }
}
